package teacher;
import java.sql.SQLException;
import java.util.Vector;

import basic.ClientConsole;

import com.sun.rowset.CachedRowSetImpl;

import flexibility.userData;
import guiCode.TeacherMainMenuCode;

public class getCoursesCurrSem {

	public CachedRowSetImpl getCourses(ClientConsole teacherConnection,
			CachedRowSetImpl rs, userData T_Data,Integer myID,int currentSem) {
		T_Data.deleteAll();
		T_Data.addData(27);
		T_Data.addData(1);
		T_Data.addData(myID);
		T_Data.addData(currentSem);
		T_Data.addData(currentSem);
		teacherConnection.acceptMsg(T_Data);
        rs=teacherConnection.getResults();
        
		return rs;
	}
	
}
